package com.wxd.framework.common;

import javax.servlet.http.HttpServletRequest;

public class ServerInfo {
	
	public static String getServerPath(HttpServletRequest request){
		return request.getSession().getServletContext().getRealPath("/userfiles");
	}
	
	public static String getServerPath(HttpServletRequest request, String path){
		return request.getSession().getServletContext().getRealPath(path);
	}
}
